﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Entity
{

    [Table("OrderDetail")]
    public class OrderDetail : BaseEnity
    {


      //  public string mchid { get; set; }  //商品编号   
        public string ProductName { get; set; }  //温度   
        public string ProductImg { get; set; }  //温度  

        public decimal Price { get; set; } //单价 

        public int Quantity { get; set; }  //数量 

        public string ProductId { get; set; }  //商品编号   


        public int SlotIndex { get; set; }  //温度   


        public string OrderId { get; set; }  //温度   


        public int? OutQuantity { get; set; }  //温度   

        public SlotType SlotTypeId { get; set; }  //温度   


        public bool IsUpdate { get; set; }  //是否更新，只能更新一次   
        /// <summary>
        ///  单件成本
        /// </summary>
        public decimal? Cost { get; set; }
        /// <summary>
        /// 从哪一个库存扣的
        /// </summary>
        public string Stock_Master_ID { get; set; }
    }
}
